package com.jinwei.qunguanjia.common.core.domain.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yuanzs
 * 2020/12/10 15:50
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@SuppressWarnings("serial")
public class Sort implements Serializable {
	public static final String ASC ="asc";
	public static final String DESC ="desc";
    /**
     * 数据库字段名
     */
    private String column;
    /**
     * 排序类型，如asc,desc
     */
    private String type;
}
